// 依赖实体类
const SafeNumber = require('../base/SafeNumber');
const SafeString = require('../base/SafeString');

// 配置类
const config = require('../../config').config;

/**
 * 实体类 UpdateOpenRate 用于记录参数版本里每一个值的信息
 */
class UpdateOpenRate {
    constructor(obj) {
        this.id = new SafeNumber(obj.id).value;
        this.openRate = new SafeString(obj.openRate).value;
    }
}

module.exports = UpdateOpenRate;